using System;
using System.Collections.Generic; 
using System.Collections;
using System.Linq;
using System.Diagnostics;
using System.Xml;
using System.Xml.Schema; 
using System.Xml.Linq; 
using System.Xml.XPath;
using Metaspec;
using AbstraX.ParserInterfaces;

namespace CsParser
{
	/// ID=/AssembliesRoot[@URL='AbstraX://MCLaptop64/AssembliesRoot']/Assembly[@AssemblyFile='C:\Users\Ken\Documents\Mind Chemistry\SolutionFramework\Binaries\CsTransformationParserLibrary.dll']/AssemblyType[@Type='Metaspec.CsCompilationUnit']/FieldElement[@Property='attributes']/AssemblyType[@Type='Metaspec.CsAttributes']/FieldElement[@Property='sections']/AssemblyType[@Type='Metaspec.CsAttributeSection']/FieldElement[@Property='attribute_list']/AssemblyType[@Type='Metaspec.CsAttribute']/FieldElement[@Property='attribute_name']/AssemblyType[@Type='Metaspec.CsNode']
	/// Name=CsNode
	/// 
	/// ****************** DataType ******************
	/// 
	/// Type='CsNode'
	/// FQN='Metaspec.CsNode'
	/// IsCollectionType='False'
	/// 
	/// 
	/// ****************** Description ******************
	/// 
	/// Field Type
	/// 
	/// 
	/// ****************** Modifiers ******************
	/// 
	/// CanRead=false
	/// CanWrite=false
	/// IsLocal=false
	/// NotNavigable=false
	/// NotApplicable=false
	/// 
	/// **********************************************
 	public class CodeNode : ICodeNode
	{
		private CsNode csNode;

        public CodeNode(CsNode csNode) 
        {
            this.csNode = csNode;
        }

		/// ------------------------------------ PropertyBinding ------------------------------------
		/// 
		/// Name: FilePath
		/// BindingMode: TwoWay
		/// BindingSourceType: AbstraXBindingSource
		/// IsSearchable: false
		/// 
		/// ****************** BindingAttribute ******************
		/// 
		/// ID=/AssembliesRoot[@URL='AbstraX://MCLaptop64/AssembliesRoot']/Assembly[@AssemblyFile='C:\Users\Ken\Documents\Mind Chemistry\SolutionFramework\Binaries\CsTransformationParserLibrary.dll']/AssemblyType[@Type='Metaspec.CsCompilationUnit']/FieldElement[@Property='attributes']/AssemblyType[@Type='Metaspec.CsAttributes']/FieldElement[@Property='sections']/AssemblyType[@Type='Metaspec.CsAttributeSection']/FieldElement[@Property='attribute_list']/AssemblyType[@Type='Metaspec.CsAttribute']/FieldElement[@Property='attribute_name']/AssemblyType[@Type='Metaspec.CsNode']/GetSetPropertyAttribute[@Property='getFilePath()']
		/// Name=getFilePath()
		/// 
		/// ****************** DataType ******************
		/// 
		/// Type='String'
		/// TypeCode='Empty'
		/// 
		/// 
		/// ****************** Modifiers ******************
		/// 
		/// CanRead=true
		/// CanWrite=false
		/// IsLocal=true
		/// NotNavigable=false
		/// NotApplicable=false
		/// 
		/// **********************************************
		/// 
		/// *****************************************************
		/// 
		/// 
		/// ----------------------------------------------------------------------------------
        public String FilePath 
        { 
            get
            {
				return csNode.FilePath;
            }
        }

		/// ------------------------------------ PropertyBinding ------------------------------------
		/// 
		/// Name: flags
		/// BindingMode: TwoWay
		/// BindingSourceType: AbstraXBindingSource
		/// IsSearchable: false
		/// 
		/// ****************** BindingAttribute ******************
		/// 
		/// ID=/AssembliesRoot[@URL='AbstraX://MCLaptop64/AssembliesRoot']/Assembly[@AssemblyFile='C:\Users\Ken\Documents\Mind Chemistry\SolutionFramework\Binaries\CsTransformationParserLibrary.dll']/AssemblyType[@Type='Metaspec.CsCompilationUnit']/FieldElement[@Property='attributes']/AssemblyType[@Type='Metaspec.CsAttributes']/FieldElement[@Property='sections']/AssemblyType[@Type='Metaspec.CsAttributeSection']/FieldElement[@Property='attribute_list']/AssemblyType[@Type='Metaspec.CsAttribute']/FieldElement[@Property='attribute_name']/AssemblyType[@Type='Metaspec.CsNode']/FieldAttribute[@Field='flags']
		/// Name=flags
		/// 
		/// ****************** DataType ******************
		/// 
		/// Type='UInt16'
		/// TypeCode='Empty'
		/// 
		/// 
		/// ****************** Modifiers ******************
		/// 
		/// CanRead=true
		/// CanWrite=true
		/// IsLocal=true
		/// NotNavigable=false
		/// NotApplicable=false
		/// 
		/// **********************************************
		/// 
		/// *****************************************************
		/// 
		/// 
		/// ----------------------------------------------------------------------------------
        public UInt16 Flags 
        { 
            get
            {
				return csNode.flags;
            }
            set
            {
				csNode.flags = value;
            }
        }

		/// ------------------------------------ NavigationItem ------------------------------------
		/// 
		/// Property: 'e' returns type: 'Metaspec.cs_node'
		/// CanRead: true
		/// CanWrite: true
		/// 
		/// ----------------------------------------------------------------------------------
        public cs_node E 
        { 
            get
            {
				return new cs_node(csNode.e);
            }
        }

		/// ------------------------------------ NavigationItem ------------------------------------
		/// 
		/// Property: 'parent' returns type: 'Metaspec.CsNode'
		/// CanRead: true
		/// CanWrite: true
		/// 
		/// ----------------------------------------------------------------------------------
        public CsNode Parent 
        { 
            get
            {
				return new CsNode(csNode.parent);
            }
        }

		/// ------------------------------------ NavigationItem ------------------------------------
		/// 
		/// Property: 'line_info' returns type: 'Metaspec.LineInfo'
		/// CanRead: true
		/// CanWrite: true
		/// 
		/// ----------------------------------------------------------------------------------
        public LineInfo Line_info 
        { 
            get
            {
				return new LineInfo(csNode.line_info);
            }
        }

		/// ------------------------------------ NavigationItem ------------------------------------
		/// 
		/// Property: 'user_data' returns type: 'System.Object'
		/// CanRead: true
		/// CanWrite: true
		/// 
		/// ----------------------------------------------------------------------------------
        public Object User_data 
        { 
            get
            {
				return new Object(csNode.user_data);
            }
        }

		/// ------------------------------------ NavigationItem ------------------------------------
		/// 
		/// Property: 'LineInfo' returns type: 'Metaspec.LineInfo'
		/// CanRead: true
		/// CanWrite: false
		/// 
		/// ----------------------------------------------------------------------------------
        public LineInfo LineInfo 
        { 
            get
            {
				return new LineInfo(csNode.LineInfo);
            }
        }

		/// ------------------------------------ NavigationItem ------------------------------------
		/// 
		/// Property: 'CompilationUnit' returns type: 'Metaspec.CsCompilationUnit'
		/// CanRead: true
		/// CanWrite: false
		/// 
		/// ----------------------------------------------------------------------------------
        public CsCompilationUnit CompilationUnit 
        { 
            get
            {
				return new CsCompilationUnit(csNode.CompilationUnit);
            }
        }

		/// ------------------------------------ NavigationItem ------------------------------------
		/// 
		/// Property: 'CsFile' returns type: 'Metaspec.CsFile'
		/// CanRead: true
		/// CanWrite: false
		/// 
		/// ----------------------------------------------------------------------------------
        public CsFile CsFile 
        { 
            get
            {
				return new CsFile(csNode.CsFile);
            }
        }

    }
}
